package hg.framework.common.excetion;

/**
 * @author hgSuper
 * @date 2021/12/14
 */
public class BizException extends RuntimeException {
    public BizException(String msg) {
        super(msg);
    }
    public static BizException exception() {
        return exception("开小差");
    }

    public static BizException exception(String msg) {
        return new BizException(msg);
    }
}
